package com.example.administrator.liveapp.bean;

import java.util.List;

/**
 * Created by Administrator on 2017/10/27 0027.
 */

public class CommodityPayBean {

    /**
     * orderAddress : {"addressid":"22","nickname":"蔡万服","telnumber":"15757108237","addressuid":"115","orderaddress":"浙江省,温州市,苍南县","detailaddress":"灵溪","addressaddtime":"1509432663","addressedittime":"1509432663","addstatus":"1"}
     * book : [{"bookId":"20","bookNum":"2","bookPrice":"36.00","bookImgUrl":"/Uploads/2017/09/1505352849573318.png","bookTitle":"老人与海","storeId":"5"},{"bookId":"19","bookNum":"3","bookPrice":"48.00","bookImgUrl":"/Uploads/2017/09/1505205993793045.jpg","bookTitle":"霍乱时期的爱情","storeId":"5"},{"bookId":"14","bookNum":"2","bookPrice":"33.50","bookImgUrl":"/Uploads/2017/09/1505368730656375.png","bookTitle":"慢煮生活","storeId":"1"},{"bookId":"16","bookNum":"1","bookPrice":"25.80","bookImgUrl":"/Uploads/2017/09/1505354627802767.png","bookTitle":"大卫,不可以!","storeId":"1"}]
     * result : true
     * code : 6500
     * message : success for get order info
     */

    private OrderAddressBean orderAddress;
    private boolean result;
    private int code;
    private String message;
    private List<BookBean> book;

    public OrderAddressBean getOrderAddress() {
        return orderAddress;
    }

    public void setOrderAddress(OrderAddressBean orderAddress) {
        this.orderAddress = orderAddress;
    }

    public boolean isResult() {
        return result;
    }

    public void setResult(boolean result) {
        this.result = result;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public List<BookBean> getBook() {
        return book;
    }

    public void setBook(List<BookBean> book) {
        this.book = book;
    }

    public static class OrderAddressBean {
        /**
         * addressid : 22
         * nickname : 蔡万服
         * telnumber : 15757108237
         * addressuid : 115
         * orderaddress : 浙江省,温州市,苍南县
         * detailaddress : 灵溪
         * addressaddtime : 1509432663
         * addressedittime : 1509432663
         * addstatus : 1
         */

        private String addressid="";
        private String nickname="";
        private String telnumber="";
        private String addressuid="";
        private String orderaddress="";
        private String detailaddress="";
        private String addressaddtime="";
        private String addressedittime="";
        private String addstatus="";

        public String getAddressid() {
            return addressid;
        }

        public void setAddressid(String addressid) {
            this.addressid = addressid;
        }

        public String getNickname() {
            return nickname;
        }

        public void setNickname(String nickname) {
            this.nickname = nickname;
        }

        public String getTelnumber() {
            return telnumber;
        }

        public void setTelnumber(String telnumber) {
            this.telnumber = telnumber;
        }

        public String getAddressuid() {
            return addressuid;
        }

        public void setAddressuid(String addressuid) {
            this.addressuid = addressuid;
        }

        public String getOrderaddress() {
            return orderaddress;
        }

        public void setOrderaddress(String orderaddress) {
            this.orderaddress = orderaddress;
        }

        public String getDetailaddress() {
            return detailaddress;
        }

        public void setDetailaddress(String detailaddress) {
            this.detailaddress = detailaddress;
        }

        public String getAddressaddtime() {
            return addressaddtime;
        }

        public void setAddressaddtime(String addressaddtime) {
            this.addressaddtime = addressaddtime;
        }

        public String getAddressedittime() {
            return addressedittime;
        }

        public void setAddressedittime(String addressedittime) {
            this.addressedittime = addressedittime;
        }

        public String getAddstatus() {
            return addstatus;
        }

        public void setAddstatus(String addstatus) {
            this.addstatus = addstatus;
        }
    }

    public static class BookBean {
        /**
         * bookId : 20
         * bookNum : 2
         * bookPrice : 36.00
         * bookImgUrl : /Uploads/2017/09/1505352849573318.png
         * bookTitle : 老人与海
         * storeId : 5
         */

        private String bookId;
        private String bookNum;
        private String bookPrice;
        private String bookImgUrl;
        private String bookTitle;
        private String storeId;

        public String getBookId() {
            return bookId;
        }

        public void setBookId(String bookId) {
            this.bookId = bookId;
        }

        public String getBookNum() {
            return bookNum;
        }

        public void setBookNum(String bookNum) {
            this.bookNum = bookNum;
        }

        public String getBookPrice() {
            return bookPrice;
        }

        public void setBookPrice(String bookPrice) {
            this.bookPrice = bookPrice;
        }

        public String getBookImgUrl() {
            return bookImgUrl;
        }

        public void setBookImgUrl(String bookImgUrl) {
            this.bookImgUrl = bookImgUrl;
        }

        public String getBookTitle() {
            return bookTitle;
        }

        public void setBookTitle(String bookTitle) {
            this.bookTitle = bookTitle;
        }

        public String getStoreId() {
            return storeId;
        }

        public void setStoreId(String storeId) {
            this.storeId = storeId;
        }
    }
}
